package com.hdu.mockService.annotation;


import com.hdu.mockService.enums.CharType;

import java.lang.annotation.*;

@Target({ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface RandomString {
    int fixedLength() default -1;

    int minLength() default -1;

    int maxLength() default -1;

    CharType[] charTypes() default {CharType.NUMBER, CharType.LOWER_CASE, CharType.UPPER_CASE};
}
